import Vue from 'vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue';
import router from './router';
import store from './store';
import './assets/css/global.css';
import axios from 'axios';
axios.defaults.baseURL = 'http://localhost:18080/api/'
axios.defaults.withCredentials=true; //自带请求头，跨域必须加
Vue.prototype.$axios = axios;
Vue.use(ElementUI);
Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
